package ooday02;

public class Chick extends Animals{
    Chick(String name, String color,int age) {
        super(name, color, age);
    }
    Chick(){}
    void eat()
    {
        System.out.println(name+"小鸡"+"Eating rice");
    }
    void layegg()
    {
        System.out.println(name+"小鸡"+"layegg");
    }
}
